
#include <kogi/alloc.h>

#include <stdlib.h>

static void* kogi_standard_alloc(void* unused, size_t size)
{
    (void)unused;
    return malloc(size);
}

static void kogi_standard_dealloc(void* unused, void* alloced)
{
    (void)unused;
    free(alloced);
}

kogi_alloc_fp const kogi_standard_alloc_fp = &kogi_standard_alloc;
kogi_dealloc_fp const kogi_standard_dealloc_fp = &kogi_standard_dealloc;

